/**
 * @author Wang Hai Long  [whailong2010@gmail.com]
 * @date Sep 27, 2014 10:09:12 PM
 */
package com.surent.model.viewmodel;

import com.avos.avoscloud.AVGeoPoint;
import com.surent.model.dbmodel.House;
import com.surent.model.dbmodel.User;

/**
 * @author Wang Hai Long [whailong2010@gmail.com]
 * @date Sep 27, 2014 10:09:12 PM
 */
public class HouseList {

	// 房源标题
	private String title;

	// 租金价格
	private String price;

	// 户型
	private String houseLayout;

	// 面积
	private String area;

	// 装潢
	private String decorateLevel;

	// 所在区域
	private String district;

	// 小区名
	private String communityName;

	// 坐标
	private AVGeoPoint location;

	// 来源
	private String from;

	// 出租类型
	private String rentType;

	// 创建时间
	private String createTime;

	// 房屋发布者
	private User owner;

	// 房源对象
	private House house;

	/**
	 * @param title
	 * @param price
	 * @param houseLayout
	 * @param area
	 * @param decorateLevel
	 * @param district
	 * @param communityName
	 * @param location
	 * @param from
	 * @param rentType
	 * @param createTime
	 * @param owner
	 * @param house
	 */
	public HouseList(String title, String price, String houseLayout, String area, String decorateLevel, String district,
			String communityName, AVGeoPoint location, String from, String rentType, String createTime, User owner,
			House house) {
		this.title = title;
		this.price = price;
		this.houseLayout = houseLayout;
		this.area = area;
		this.decorateLevel = decorateLevel;
		this.district = district;
		this.communityName = communityName;
		this.location = location;
		this.from = from;
		this.rentType = rentType;
		this.createTime = createTime;
		this.owner = owner;
		this.house = house;
	}

	public HouseList() {
		super();
	}

	public String getRentType() {
		return rentType;
	}

	public String getTitle() {
		return title;
	}

	public String getPrice() {
		return price;
	}

	public String getHouseLayout() {
		return houseLayout;
	}

	public String getArea() {
		return area;
	}

	public String getDecorateLevel() {
		return decorateLevel;
	}

	public String getDistrict() {
		return district;
	}

	public String getCommunityName() {
		return communityName;
	}

	public AVGeoPoint getLocation() {
		return location;
	}

	public String getFrom() {
		return from;
	}

	public String getCreateTime() {
		return createTime;
	}

	public User getOwner() {
		return owner;
	}

	public House getHouse() {
		return house;
	}

}
